/*
 *    Copyright (c) 2018-2025, 云集汇通 All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the yunjihuitong.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 */

package com.yjht.modules.weixin.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 微信公众号列表
 * 
 * @author lengleng
 * @email wangiegie@gmail.com
 * @date 2018-06-14 10:47:40
 */
@TableName("wxcms_account")
public class WxcmsAccountEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer id;
	/**
	 * 名称
	 */
	private String name;
	/**
	 * 账号
	 */
	private String account;
	/**
	 * AppId
	 */
	private String appid;
	/**
	 * AppSecret
	 */
	private String appsecret;
	/**
	 * 验证URL
	 */
	private String url;
	/**
	 * 密钥
	 */
	private String token;
	/**
	 * 自动回复消息条数
	 */
	private Integer msgCount;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 授权域名
	 */
	private String authdomain;
	/**
	 * 服务器配置解密密钥
	 */
	private String aeskey;
	/**
	 *
	 */
	private String creator;
	/**
	 * 访问工程名
	 */
	private String serverContext;
	/**
	 *
	 */
	private Long deptId;
	/**
	 * 微信号
	 */
	private String wxAcount;
	/**
	 * 服务标识:1:提供服务，0：不提供服务
	 */
	private Integer status;
	/**
	 * 区分企业号和服务号:0服务号，1企业号
	 */
	private Integer isQy;
	/**
	 * 关联企业号
	 */
	private int qyNo;
	/**
	 * 主题颜色
	 */
	private String colortheme;

	@TableField(exist=false)
	private int[] areaIds;
	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：名称
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：名称
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：账号
	 */
	public void setAccount(String account) {
		this.account = account;
	}
	/**
	 * 获取：账号
	 */
	public String getAccount() {
		return account;
	}
	/**
	 * 设置：AppId
	 */
	public void setAppid(String appid) {
		this.appid = appid;
	}
	/**
	 * 获取：AppId
	 */
	public String getAppid() {
		return appid;
	}
	/**
	 * 设置：AppSecret
	 */
	public void setAppsecret(String appsecret) {
		this.appsecret = appsecret;
	}
	/**
	 * 获取：AppSecret
	 */
	public String getAppsecret() {
		return appsecret;
	}
	/**
	 * 设置：验证URL
	 */
	public void setUrl(String url) {
		this.url = url;
	}
	/**
	 * 获取：验证URL
	 */
	public String getUrl() {
		return url;
	}
	/**
	 * 设置：密钥
	 */
	public void setToken(String token) {
		this.token = token;
	}
	/**
	 * 获取：密钥
	 */
	public String getToken() {
		return token;
	}
	/**
	 * 设置：自动回复消息条数
	 */
	public void setMsgCount(Integer msgCount) {
		this.msgCount = msgCount;
	}
	/**
	 * 获取：自动回复消息条数
	 */
	public Integer getMsgCount() {
		return msgCount;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}

	public String getAuthdomain() {
		return authdomain;
	}

	public void setAuthdomain(String authdomain) {
		this.authdomain = authdomain;
	}

	public String getAeskey() {
		return aeskey;
	}

	public void setAeskey(String aeskey) {
		this.aeskey = aeskey;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getServerContext() {
		return serverContext;
	}

	public void setServerContext(String serverContext) {
		this.serverContext = serverContext;
	}

	public Long getDeptId() {
		return deptId;
	}

	public void setDeptId(Long deptId) {
		this.deptId = deptId;
	}

	public String getWxAcount() {
		return wxAcount;
	}

	public void setWxAcount(String wxAcount) {
		this.wxAcount = wxAcount;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getIsQy() {
		return isQy;
	}

	public void setIsQy(Integer isQy) {
		this.isQy = isQy;
	}

	public int getQyNo() {
		return qyNo;
	}

	public void setQyNo(int qyNo) {
		this.qyNo = qyNo;
	}

	public String getColortheme() {
		return colortheme;
	}

	public void setColortheme(String colortheme) {
		this.colortheme = colortheme;
	}

	public int[] getAreaIds() {
		return areaIds;
	}

	public void setAreaIds(int[] areaIds) {
		this.areaIds = areaIds;
	}
}
